<?php

namespace app\api\model;

use app\common\model\Api;
use think\Model;

class BatteryOrder extends Api
{
    //
    public function battery()
    {
    	return $this->belongsTo('battery');
    }
    public function business()
    {
    	return $this->belongsTo('business');
    }
    public function user()
    {
    	return $this->belongsTo('user');
    }
    public function batteryba()
    {
    	return $this->belongsTo('batteryba','name','batterybaid');
    }
}
